<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="../static/layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">欢迎使用迈迪防业务系统</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    {{userinfo.real_name}}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="/index/logout">退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed"><a class="" href="javascript:;">首页</a></li>
                {% for item in usermenu %}
                {% if item.menu_id==null and item.menu_name !=null %}
                <li class="layui-nav-item ">
                    <a class="" href="javascript:;">{{item.menu_name}}</a>
                    <dl class="layui-nav-child">
                        {% for items in usermenu %}
                        {% if items.menu_id == item.id%}
                        <dd><a href="{{items.url}}">{{items.menu_name}}</a></dd>
                        {% endif %}
                        {% endfor %}
                    </dl>
                </li>
                {% endif %}
                {% endfor %}
                <!--<a class="" href="javascript:;">设备管理</a>-->
                <!--<dl class="layui-nav-child">-->
                <!--<dd><a href="/operatorDevice/operator">运营商硬件管理</a></dd>-->
                <!--<dd><a href="/operatorDevice/res">资源管理</a></dd>-->
                <!--<dd><a href="/operatorDevice/ipOpen">对外开放ip管理</a></dd>-->
                <!--<dd><a href="/operatorDevice/instances">批量拉起服务</a></dd>-->
                <!--</dl>-->

            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
            <legend>开发ip管理</legend>
        </fieldset>
        <div style="padding: 10px;">
                <span class="layui-breadcrumb">
                    <a href="/">首页</a>
                    <a>系统设置</a>
                    <a><cite>开发ip管理</cite></a>
                </span>
        </div>

        <div style="padding: 30px;">
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md3">
                    <div><label class="layui-form-label" style="width: 100px">ip</label></div>
                    <div class="layui-input-inline">
                        <input style="width: 400px" type="text" name="title" lay-verify="title" autocomplete="off"
                               placeholder="请输入ip"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-col-md3">
                    <div><label class="layui-form-label" style="width: 100px">ip类型</label></div>
                    <select name="city" class="layui-input" lay-verify="">
                        <option value="">请选择</option>
                        <option value="010">正常ip</option>
                        <option value="021">高危ip</option>
                        <option value="021">高防ip</option>
                    </select>
                </div>
                <div class="layui-col-md3">
                    <div><label class="layui-form-label" style="width: 100px">运营商</label></div>
                    <select name="city" class="layui-input" lay-verify="">
                        <option value="">请选择</option>
                        <option value="010">中国移动</option>
                        <option value="021">中国电信</option>
                        <option value="021">中国联通</option>
                        <option value="021">全网路线</option>
                    </select>
                </div>
                <div style="top: 35px;" class="layui-col-md2 layui-col-md-offset1"><a href="http://www.layui.com"
                                                                                      class="layui-btn">查询</a></div>


            </div>

            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-header">
                            <div>
                                <a href="http://www.layui.com" class="layui-btn">新增</a>
                                <a href="http://www.layui.com" class="layui-btn">导入</a>
                            </div>
                        </div>
                        <div class="layui-card-body">
                            <table class="layui-table" lay-skin="nob">
                                <colgroup>
                                    <col width="300">
                                    <col width="250">
                                    <col width="250">
                                    <col width="300">
                                    <col width="250">
                                    <col width="200">
                                </colgroup>
                                <thead>
                                <tr>
                                    <th>ip地址</th>
                                    <th>类型</th>
                                    <th>防御等级</th>
                                    <th>带宽</th>
                                    <th>承载上限</th>
                                    <th>运营商</th>
                                    <th>机房</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>贤心</td>
                                    <td>2016-11-29</td>
                                    <td>2016-11-2</td>
                                </tr>
                                <tr>
                                    <td>许闲心</td>
                                    <td>2016-11-28</td>
                                    <td>2016-11-28</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
</div>
</div>
<script src="../static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;

    });
</script>
</body>
</html>
